package com.xiaofei.service.insterface;

import com.xiaofei.pojo.dept;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DeptService {
    List<dept> getAll();

    void deleteById(Integer id);

    void addDept(dept dp);

    dept getById(Integer id);

    void updept(dept dp);
}
